<!DOCTYPE html>
<html>
<head>
<title>Canvas学习</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<style type="text/css">
body { background: #dddddd; text-align: center; }
#canvas { margin: 0 auto; }
.tc { text-align: center; }
a { padding: 0 5px; }
</style>
</head>
<body>
<canvas width="300" height="300" id="canvas"></canvas>
<p class="tc">
  <a href="hello_world.html">hello world</a>
  <a href="clock.html">clock</a>
</p>
<script type="text/javascript" src="Js/canvas.js"></script>
</body>
</html>